a = int(input("Please input the an integer : "))
result = True
if(a == 1):
    result = False
else:
    x = 2
    while(x < a):
        if(a % x == 0):
            result = False
        x = x + 1
print(result)
